﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmApiLibrary.datatypes.Interface;
using SmApiLibrary.helps;

namespace SmApiLibrary.datatypes.Interface
{
    public class IStatus
    {
        public IStatus()
        {
        }

        private string _createAt;
        public string created_at
        {
            get { return _createAt; }
            set
            {
                try
                {
                    _createAt = JsonHelper.FormatJsonDateTime(value);
                }
                catch
                {

                    _createAt = value;
                }

            }
        }
        public string id { get; set; }
        public string source { get; set; }
        public string text { get; set; }
        public string favorited { get; set; }
        public string truncated { get; set; }
        public string in_reply_to_status_id { get; set; }
        public string in_reply_to_user_id { get; set; }
        public string in_reply_to_screen_name { get; set; }

        public string thumbnail_pic { get; set; }
        public string bmiddle_pic { get; set; }
        public string original_pic { get; set; }
        //public string geo { get; set; }
        public string mid { get; set; }

        public IUser user
        {
            get;
            set;
        }

        public IRetweetedStatus retweeted_status { get; set; }
        // public IAnnotation[] annotations { get; set; }
        #region IDataTypeBase 成员
        public virtual SmApiLibrary.libs.WeiBoType WeiboType
        {
            get;
            set;
        }

        #endregion
    }
}
